wayland: re-configure surface even if size matches
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 1 Dec 2015 13:52:03 +0000 (14:52 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Tue, 1 Dec 2015 15:17:39 +0000 (16:17 +0100)
commitf37aa415cd65738d9e333f993cbdb06f0442174c
treee84a1630dbf76c4f0ccf8acb8fc8b45df33d8818
parent1a394bd5ec6ba489eed260bfbec91158e24213e3
wayland: re-configure surface even if size matches

gdk-wayland backend would not re-configure a surface when its size and
scale match the known size and scale.

But there might be a pending xdg_surface_configure() that would revert
this change so we should re-configure even if the currently known
size/scale match, otherwise we may end up with a wrong size after the
xdg_surface_configure() is received.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=758901
gdk/wayland/gdkwindow-wayland.c